<aside id="sidebar" class="column">
	<?php if ($userid > 0){?>
	<h3>Điều hướng</h3>
	<ul class="toggle">
		<li class="icn_categories"><a href="<?php echo site_url();?>">Trang chủ</a></li>
		<li class="icn_categories"><a href="<?php echo site_url();?>/report">Báo cáo</a></li>
		<li class="icn_categories"><a href="<?php echo site_url();?>/internship/company">Thông tin công ty</a></li>
		<?php if($type == 1) {?>
			<li class="icn_categories"><a href="<?php echo site_url();?>/internship">Kết quả đăng ký</a></li>
		<?php } else if($type == 2) {?>
			<li class="icn_categories"><a href="<?php echo site_url();?>/internship/acceptintership">Chấp nhận thực tập</a></li>
		<?php } ?>
	</ul>
	
	<h3>Tác vụ</h3>
	<ul class="toggle">
		<li class="icn_edit_article"><a href="<?php echo site_url();?>/profile">Thông tin cá nhân</a></li>
		<li class="icn_security"><a href="<?php echo site_url();?>/changepass">Đổi mật khẩu</a></li>
		<li class="icn_jump_back"><a href="<?php echo site_url();?>/logout">Thoát</a></li>
	</ul>
	<?php }else{?>
	<h3>Tác vụ</h3>
	<ul class="toggle">
		<li class="icn_security"><a href="<?php echo site_url();?>/register">Đăng ký</a></li>
		<li class="icn_jump_back"><a href="<?php echo site_url();?>/login">Đăng nhập</a></li>
	</ul>
	<?php }?>
	
	<footer>
		<hr />
		<p><strong>Copyright &copy; 2012</strong></p>
		<p>Theme by <a href="http://www.medialoot.com">MediaLoot</a></p>
	</footer>
</aside><!-- end of sidebar -->
	<?php if (@$msg!='' && @$msgtype!=''){?>
	<h4 class='alert_<?php echo $msgtype;?>'><?php echo $msg;?></h4>
	<?php }?> 